package yl.hs.bmipfull.pojo.system;

import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * DictTypeEntity 数据字典类型实体类
 * @category 系统管理——数据字典类型
 * @author 谢景广
 * @date 2021-05-10
 */
@DBTable(disName = "数据字典类型", mapCode = "data_dict_type")
public class DictTypeEntity extends BaseEntity {


    private Long id;
    @DBField(disName = "字典类编号", mapCode = "sn", isRequire = true, isSerialNumber = true, snPrefix = "DICT")
    private String sn;
    private String typeName;
    private String typeCode;
    private Short useRange;
    private Short state;
    private String sortCode;
    private String remark;
    private boolean enable;

    /**
     * 获取主键
     *
     * @return
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置主键
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取编号
     *
     * @return
     */
    public String getSn() {
        return this.sn;
    }

    /**
     * 设置编号
     *
     * @param sn
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取类型名称
     *
     * @return
     */
    public String getTypeName() {
        return this.typeName;
    }

    /**
     * 设置类型名称
     *
     * @param typeName
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    /**
     * 获取类型代码
     *
     * @return
     */
    public String getTypeCode() {
        return this.typeCode;
    }

    /**
     * 设置类型代码
     *
     * @param typeCode
     */
    public void setTypeCode(String typeCode) {
        this.typeCode = typeCode;
    }

    /**
     * 获取使用范围
     *
     * @return
     */
    public Short getUseRange() {
        return this.useRange;
    }

    /**
     * 设置使用范围
     *
     * @param useRange
     */
    public void setUseRange(Short useRange) {
        this.useRange = useRange;
    }

    /**
     * 获取状态
     *
     * @return
     */
    public Short getState() {
        return this.state;
    }

    /**
     * 设置状态
     *
     * @param state
     */
    public void setState(Short state) {
        this.state = state;
    }

    /**
     * 获取排序字段
     *
     * @return
     */
    public String getSortCode() {
        return sortCode;
    }

    /**
     * 设置排序字段
     *
     * @param sortCode
     */
    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }

    /**
     * 获取备注
     *
     * @return
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注
     *
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取是否启用
     *
     * @return
     */
    public boolean getEnable() {
        return enable;
    }

    /**
     * 设置是否启用
     *
     * @param enable
     */
    public void setEnable(boolean enable) {
        this.enable = enable;
    }


}
